package com.gl.saasservice.sys.vo;

import javax.persistence.Column;


/*
 *角色表
 */
public class RoleVO {
    protected Long id;
    /*
    *企业Id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *父级Id
     */
    @Column(name = "parent_id", nullable = true)
    private Long parentId;
    /*
     *角色名称
     */
    @Column(name = "name", nullable = true)
    private String name;
    /*
     *角色编码
     */
    @Column(name = "code", nullable = true)
    private String code;
    /*
     *属性：1角色组  2角色
     */
    @Column(name = "property", nullable = true)
    private Integer property;
    /*
     *角色类型：0普通角色 1主管理员 2子管理员
     */
    @Column(name = "type", nullable = true)
    private Integer type;
    /*
     *属性类型: 0普通 1默认
     */
    @Column(name = "property_type", nullable = true)
    private Integer propertyType;
    /*
     *备注
     */
    @Column(name = "description", nullable = true)
    private String description;
    /**
     * 角色性质：0组织架构 1平台角色
     */
    @Column(name = "nature_type", nullable = true)
    private Integer natureType;

    private String orgName; //企业名

    private String showName; //前台显示：角色组名+角色名

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNatureType() {
        return natureType;
    }

    public void setNatureType(Integer natureType) {
        this.natureType = natureType;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getProperty() {
        return property;
    }

    public void setProperty(Integer property) {
        this.property = property;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(Integer propertyType) {
        this.propertyType = propertyType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
